{
  "id" : 1,
  "name" : "Amazon Web Services Example",
  "description" : "An example AWS deployment architecture.",
  "lastModifiedDate" : "2023-02-01T11:51:54Z",
  "lastModifiedAgent" : "structurizr-javascript",
  "properties" : {
    "structurizr.dsl" : "d29ya3NwYWNlICJBbWF6b24gV2ViIFNlcnZpY2VzIEV4YW1wbGUiICJBbiBleGFtcGxlIEFXUyBkZXBsb3ltZW50IGFyY2hpdGVjdHVyZS4iIHsKCiAgICBtb2RlbCB7CiAgICAgICAgc3ByaW5nUGV0Q2xpbmljID0gc29mdHdhcmVzeXN0ZW0gIlNwcmluZyBQZXRDbGluaWMiICJBbGxvd3MgZW1wbG95ZWVzIHRvIHZpZXcgYW5kIG1hbmFnZSBpbmZvcm1hdGlvbiByZWdhcmRpbmcgdGhlIHZldGVyaW5hcmlhbnMsIHRoZSBjbGllbnRzLCBhbmQgdGhlaXIgcGV0cy4iICJTcHJpbmcgQm9vdCBBcHBsaWNhdGlvbiIgewogICAgICAgICAgICB3ZWJBcHBsaWNhdGlvbiA9IGNvbnRhaW5lciAiV2ViIEFwcGxpY2F0aW9uIiAiQWxsb3dzIGVtcGxveWVlcyB0byB2aWV3IGFuZCBtYW5hZ2UgaW5mb3JtYXRpb24gcmVnYXJkaW5nIHRoZSB2ZXRlcmluYXJpYW5zLCB0aGUgY2xpZW50cywgYW5kIHRoZWlyIHBldHMuIiAiSmF2YSBhbmQgU3ByaW5nIEJvb3QiCiAgICAgICAgICAgIGRhdGFiYXNlID0gY29udGFpbmVyICJEYXRhYmFzZSIgIlN0b3JlcyBpbmZvcm1hdGlvbiByZWdhcmRpbmcgdGhlIHZldGVyaW5hcmlhbnMsIHRoZSBjbGllbnRzLCBhbmQgdGhlaXIgcGV0cy4iICJSZWxhdGlvbmFsIGRhdGFiYXNlIHNjaGVtYSIgIkRhdGFiYXNlIgogICAgICAgIH0KCiAgICAgICAgd2ViQXBwbGljYXRpb24gLT4gZGF0YWJhc2UgIlJlYWRzIGZyb20gYW5kIHdyaXRlcyB0byIgIk15U1FMIFByb3RvY29sL1NTTCIKCiAgICAgICAgbGl2ZSA9IGRlcGxveW1lbnRFbnZpcm9ubWVudCAiTGl2ZSIgewoKICAgICAgICAgICAgZGVwbG95bWVudE5vZGUgIkFtYXpvbiBXZWIgU2VydmljZXMiIHsKICAgICAgICAgICAgICAgIHRhZ3MgIkFtYXpvbiBXZWIgU2VydmljZXMgLSBDbG91ZCIKCiAgICAgICAgICAgICAgICByZWdpb24gPSBkZXBsb3ltZW50Tm9kZSAiVVMtRWFzdC0xIiB7CiAgICAgICAgICAgICAgICAgICAgdGFncyAiQW1hem9uIFdlYiBTZXJ2aWNlcyAtIFJlZ2lvbiIKCiAgICAgICAgICAgICAgICAgICAgcm91dGU1MyA9IGluZnJhc3RydWN0dXJlTm9kZSAiUm91dGUgNTMiIHsKICAgICAgICAgICAgICAgICAgICAgICAgZGVzY3JpcHRpb24gIkhpZ2hseSBhdmFpbGFibGUgYW5kIHNjYWxhYmxlIGNsb3VkIEROUyBzZXJ2aWNlLiIKICAgICAgICAgICAgICAgICAgICAgICAgdGFncyAiQW1hem9uIFdlYiBTZXJ2aWNlcyAtIFJvdXRlIDUzIgogICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgZWxiID0gaW5mcmFzdHJ1Y3R1cmVOb2RlICJFbGFzdGljIExvYWQgQmFsYW5jZXIiIHsKICAgICAgICAgICAgICAgICAgICAgICAgZGVzY3JpcHRpb24gIkF1dG9tYXRpY2FsbHkgZGlzdHJpYnV0ZXMgaW5jb21pbmcgYXBwbGljYXRpb24gdHJhZmZpYy4iCiAgICAgICAgICAgICAgICAgICAgICAgIHRhZ3MgIkFtYXpvbiBXZWIgU2VydmljZXMgLSBFbGFzdGljIExvYWQgQmFsYW5jaW5nIgogICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgZGVwbG95bWVudE5vZGUgIkF1dG9zY2FsaW5nIGdyb3VwIiB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRhZ3MgIkFtYXpvbiBXZWIgU2VydmljZXMgLSBBdXRvIFNjYWxpbmciCgogICAgICAgICAgICAgICAgICAgICAgICBkZXBsb3ltZW50Tm9kZSAiQW1hem9uIEVDMiIgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFncyAiQW1hem9uIFdlYiBTZXJ2aWNlcyAtIEVDMiIKCiAgICAgICAgICAgICAgICAgICAgICAgICAgICB3ZWJBcHBsaWNhdGlvbkluc3RhbmNlID0gY29udGFpbmVySW5zdGFuY2Ugd2ViQXBwbGljYXRpb24KICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgZGVwbG95bWVudE5vZGUgIkFtYXpvbiBSRFMiIHsKICAgICAgICAgICAgICAgICAgICAgICAgdGFncyAiQW1hem9uIFdlYiBTZXJ2aWNlcyAtIFJEUyIKCiAgICAgICAgICAgICAgICAgICAgICAgIGRlcGxveW1lbnROb2RlICJNeVNRTCIgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFncyAiQW1hem9uIFdlYiBTZXJ2aWNlcyAtIFJEUyBNeVNRTCBpbnN0YW5jZSIKCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkYXRhYmFzZUluc3RhbmNlID0gY29udGFpbmVySW5zdGFuY2UgZGF0YWJhc2UKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJvdXRlNTMgLT4gZWxiICJGb3J3YXJkcyByZXF1ZXN0cyB0byIgIkhUVFBTIgogICAgICAgICAgICBlbGIgLT4gd2ViQXBwbGljYXRpb25JbnN0YW5jZSAiRm9yd2FyZHMgcmVxdWVzdHMgdG8iICJIVFRQUyIKICAgICAgICB9CiAgICB9CgogICAgdmlld3MgeyAgICAgICAgCiAgICAgICAgZGVwbG95bWVudCBzcHJpbmdQZXRDbGluaWMgIkxpdmUiICJBbWF6b25XZWJTZXJ2aWNlc0RlcGxveW1lbnQiIHsKICAgICAgICAgICAgaW5jbHVkZSAqCiAgICAgICAgICAgIC8vYXV0b2xheW91dCBscgoKICAgICAgICAgICAgYW5pbWF0aW9uIHsKICAgICAgICAgICAgICAgIHJvdXRlNTMKICAgICAgICAgICAgICAgIGVsYgogICAgICAgICAgICAgICAgd2ViQXBwbGljYXRpb25JbnN0YW5jZQogICAgICAgICAgICAgICAgZGF0YWJhc2VJbnN0YW5jZQogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICBzdHlsZXMgewogICAgICAgICAgICBlbGVtZW50ICJFbGVtZW50IiB7CiAgICAgICAgICAgICAgICBzaGFwZSByb3VuZGVkYm94CiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kICNmZmZmZmYKICAgICAgICAgICAgfQogICAgICAgICAgICBlbGVtZW50ICJEYXRhYmFzZSIgewogICAgICAgICAgICAgICAgc2hhcGUgY3lsaW5kZXIKICAgICAgICAgICAgfQogICAgICAgICAgICBlbGVtZW50ICJJbmZyYXN0cnVjdHVyZSBOb2RlIiB7CiAgICAgICAgICAgICAgICBzaGFwZSByb3VuZGVkYm94CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHRoZW1lcyBodHRwczovL3N0YXRpYy5zdHJ1Y3R1cml6ci5jb20vdGhlbWVzL2FtYXpvbi13ZWItc2VydmljZXMtMjAyMC4wNC4zMC90aGVtZS5qc29uCiAgICB9Cgp9Cg=="
  },
  "configuration" : { },
  "model" : {
    "softwareSystems" : [ {
      "id" : "1",
      "tags" : "Element,Software System,Spring Boot Application",
      "name" : "Spring PetClinic",
      "description" : "Allows employees to view and manage information regarding the veterinarians, the clients, and their pets.",
      "location" : "Unspecified",
      "containers" : [ {
        "id" : "3",
        "tags" : "Element,Container,Database",
        "name" : "Database",
        "description" : "Stores information regarding the veterinarians, the clients, and their pets.",
        "technology" : "Relational database schema",
        "documentation" : { }
      }, {
        "id" : "2",
        "tags" : "Element,Container",
        "name" : "Web Application",
        "description" : "Allows employees to view and manage information regarding the veterinarians, the clients, and their pets.",
        "relationships" : [ {
          "id" : "4",
          "tags" : "Relationship",
          "sourceId" : "2",
          "destinationId" : "3",
          "description" : "Reads from and writes to",
          "technology" : "MySQL Protocol/SSL"
        } ],
        "technology" : "Java and Spring Boot",
        "documentation" : { }
      } ],
      "documentation" : { }
    } ],
    "deploymentNodes" : [ {
      "id" : "5",
      "tags" : "Element,Deployment Node,Amazon Web Services - Cloud",
      "name" : "Amazon Web Services",
      "environment" : "Live",
      "instances" : "1",
      "children" : [ {
        "id" : "6",
        "tags" : "Element,Deployment Node,Amazon Web Services - Region",
        "name" : "US-East-1",
        "environment" : "Live",
        "instances" : "1",
        "children" : [ {
          "id" : "12",
          "tags" : "Element,Deployment Node,Amazon Web Services - RDS",
          "name" : "Amazon RDS",
          "environment" : "Live",
          "instances" : "1",
          "children" : [ {
            "id" : "13",
            "tags" : "Element,Deployment Node,Amazon Web Services - RDS MySQL instance",
            "name" : "MySQL",
            "environment" : "Live",
            "instances" : "1",
            "containerInstances" : [ {
              "id" : "14",
              "tags" : "Container Instance",
              "environment" : "Live",
              "deploymentGroups" : [ "Default" ],
              "instanceId" : 1,
              "containerId" : "3"
            } ]
          } ]
        }, {
          "id" : "9",
          "tags" : "Element,Deployment Node,Amazon Web Services - Auto Scaling",
          "name" : "Autoscaling group",
          "environment" : "Live",
          "instances" : "1",
          "children" : [ {
            "id" : "10",
            "tags" : "Element,Deployment Node,Amazon Web Services - EC2",
            "name" : "Amazon EC2",
            "environment" : "Live",
            "instances" : "1",
            "containerInstances" : [ {
              "id" : "11",
              "tags" : "Container Instance",
              "relationships" : [ {
                "id" : "15",
                "sourceId" : "11",
                "destinationId" : "14",
                "description" : "Reads from and writes to",
                "technology" : "MySQL Protocol/SSL",
                "linkedRelationshipId" : "4"
              } ],
              "environment" : "Live",
              "deploymentGroups" : [ "Default" ],
              "instanceId" : 1,
              "containerId" : "2"
            } ]
          } ]
        } ],
        "infrastructureNodes" : [ {
          "id" : "8",
          "tags" : "Element,Infrastructure Node,Amazon Web Services - Elastic Load Balancing",
          "name" : "Elastic Load Balancer",
          "description" : "Automatically distributes incoming application traffic.",
          "relationships" : [ {
            "id" : "17",
            "tags" : "Relationship",
            "sourceId" : "8",
            "destinationId" : "11",
            "description" : "Forwards requests to",
            "technology" : "HTTPS"
          } ],
          "environment" : "Live"
        }, {
          "id" : "7",
          "tags" : "Element,Infrastructure Node,Amazon Web Services - Route 53",
          "name" : "Route 53",
          "description" : "Highly available and scalable cloud DNS service.",
          "relationships" : [ {
            "id" : "16",
            "tags" : "Relationship",
            "sourceId" : "7",
            "destinationId" : "8",
            "description" : "Forwards requests to",
            "technology" : "HTTPS"
          } ],
          "environment" : "Live"
        } ]
      } ]
    } ]
  },
  "documentation" : { },
  "views" : {
    "deploymentViews" : [ {
      "softwareSystemId" : "1",
      "key" : "AmazonWebServicesDeployment",
      "order" : 1,
      "dimensions" : {
        "width" : 3449,
        "height" : 1172
      },
      "environment" : "Live",
      "animations" : [ {
        "order" : 1,
        "elements" : [ "5", "6", "7" ]
      }, {
        "order" : 2,
        "elements" : [ "8" ],
        "relationships" : [ "16" ]
      }, {
        "order" : 3,
        "elements" : [ "11", "9", "10" ],
        "relationships" : [ "17" ]
      }, {
        "order" : 4,
        "elements" : [ "12", "13", "14" ],
        "relationships" : [ "15" ]
      } ],
      "relationships" : [ {
        "id" : "17"
      }, {
        "id" : "16"
      }, {
        "id" : "15"
      } ],
      "elements" : [ {
        "id" : "11",
        "x" : 1749,
        "y" : 350
      }, {
        "id" : "12",
        "x" : 175,
        "y" : 175
      }, {
        "id" : "13",
        "x" : 175,
        "y" : 175
      }, {
        "id" : "14",
        "x" : 2649,
        "y" : 350
      }, {
        "id" : "5",
        "x" : 175,
        "y" : 175
      }, {
        "id" : "6",
        "x" : 175,
        "y" : 175
      }, {
        "id" : "7",
        "x" : 249,
        "y" : 350
      }, {
        "id" : "8",
        "x" : 999,
        "y" : 350
      }, {
        "id" : "9",
        "x" : 175,
        "y" : 175
      }, {
        "id" : "10",
        "x" : 175,
        "y" : 175
      } ]
    } ],
    "configuration" : {
      "branding" : {
        "font" : {
          "name" : "Open Sans"
        }
      },
      "styles" : {
        "elements" : [ {
          "tag" : "Element",
          "background" : "#ffffff",
          "shape" : "RoundedBox"
        }, {
          "tag" : "Database",
          "shape" : "Cylinder"
        }, {
          "tag" : "Infrastructure Node",
          "shape" : "RoundedBox"
        } ]
      },
      "themes" : [ "https://static.structurizr.com/themes/amazon-web-services-2020.04.30/theme.json" ],
      "terminology" : { },
      "metadataSymbols" : "SquareBrackets",
      "lastSavedView" : "AmazonWebServicesDeployment"
    }
  }
}